home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14039 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  736 b 

  1. Path: cc.gatech.edu!culbreth
  2. From: culbreth@cc.gatech.edu (Matthew W. Culbreth)
  3. Newsgroups: comp.lang.c++
  4. Subject: How do I change the middle of a file?
  5. Date: 28 Mar 1996 10:53:16 -0500
  6. Organization: College of Computing, Georgia Tech
  7. Message-ID: <4jeclc$4ob@felix.cc.gatech.edu>
  8. NNTP-Posting-Host: felix.cc.gatech.edu
  9. NNTP-Posting-User: culbreth
  10.  
  11. Howdy,
  12.  
  13. I've got a big text file that acts as a database.  I need to be able
  14. to search through the file, find a particular line, and change it.
  15.  
  16. I've tried opening the file in (ios::in|ios::app), but now the program
  17. won't getline().
  18.  
  19. Any ideas?
  20.  
  21. Thanks,
  22.  
  23. Matt
  24.  
  25. -- 
  26.                     
  27.             -Matthew W. Culbreth (culbreth@cc.gatech.edu)
  28.                 -CS student
  29.                 -Georgia Tech, College of Computing
  30.